The function checks whether a certain instruction is available under the current compilation of the package.
has.instruction.set(which=c("SSE2", "SSSE3", "AVX", "AVX2"))
character vector.
logical vector of length which
. An element is TRUE
if
the instruction set is recognized by the package.
# NOT RUN {
has.instruction.set("AVX2")
# }
Run the code above in your browser using DataLab